package com.gxa.weixing.core.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExchangeRecordVO implements Serializable {
    @ExcelProperty(value = "用户id",index = 0)
    private Long uid;

    @ExcelProperty(value = "用户号码",index = 1)
    private String userPhone;

    @ExcelProperty(value = "兑换商品名",index = 2)
    private String forGoodsName;

    @ExcelProperty(value = "兑换数量",index = 3)
    private Integer num;

    @ExcelProperty(value = "供应商",index = 4)
    private String shopName;

    @ExcelProperty(value = "地址",index = 5)
    private String address;

    @ExcelProperty(value = "兑换时间",index = 6)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date exchangeTime;

    @ExcelProperty(value = "审核时间",index = 7)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    @ExcelProperty(value = "状态",index = 8)
    private Integer status;


}
